home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / pwconv.z / pwconv
Encoding:
Text File  |  2002-10-03  |  6.6 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ppppwwwwccccoooonnnnvvvv((((1111MMMM))))                                                          ppppwwwwccccoooonnnnvvvv((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      _pppp_wwww_cccc_oooo_nnnn_vvvv - install and update _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww with information from _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      _pppp_wwww_cccc_oooo_nnnn_vvvv
  13.  
  14. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.      The _pppp_wwww_cccc_oooo_nnnn_vvvv command creates and updates _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww with information from
  16.      _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd.
  17.  
  18.      If the _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww file does not exist, _pppp_wwww_cccc_oooo_nnnn_vvvv creates _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww with
  19.      information from _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd.  The command populates _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww with the
  20.      user's login name, password, and password aging information.  If password
  21.      aging information does not exist in _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd for a given user, none is
  22.      added to _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww.  However, the last changed information is always
  23.      updated.
  24.  
  25.      If the _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww file does exist, the following tasks are performed:
  26.  
  27.      +o  Entries that are in the _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd file and not in the _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww
  28.         file are added to the _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww file.
  29.  
  30.      +o  Entries that are in the _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww file and not in the _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
  31.         file are removed from _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww.
  32.  
  33.      +o  Password attributes (for example, password and aging information) in
  34.         an _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd entry are moved to the corresponding entry in
  35.         _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww.
  36.  
  37.      The _pppp_wwww_cccc_oooo_nnnn_vvvv program is a privileged system command that cannot be executed
  38.      by ordinary users.
  39.  
  40.      The contents of the _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd and _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww files are saved in
  41.      _////_eeee_tttt_cccc_////_oooo_pppp_aaaa_ssss_ssss_wwww_dddd and _////_eeee_tttt_cccc_////_oooo_ssss_hhhh_aaaa_dddd_oooo_wwww, respectively.  The system can be restored
  42.      to its preconversion state by replacing the content of the _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
  43.      file with the content of _////_eeee_tttt_cccc_////_oooo_pppp_aaaa_ssss_ssss_wwww_dddd and removal of _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww (if it
  44.      did not exist prior to the run of _pppp_wwww_cccc_oooo_nnnn_vvvv) or its replacement by
  45.      _////_eeee_tttt_cccc_////_oooo_ssss_hhhh_aaaa_dddd_oooo_wwww.  These files are overwritten each time the _pppp_wwww_cccc_oooo_nnnn_vvvv program
  46.      is run.  The use of some of the system administration tools causes _pppp_wwww_cccc_oooo_nnnn_vvvv
  47.      to be run, and therefore the backup files to be overwritten, each time an
  48.      entry is added, deleted, or modified.
  49.  
  50. NNNNOOOOTTTTEEEESSSS
  51.      _p_w_c_o_n_v does not copy NIS entries from _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd. However, a shadow file
  52.      can be served by NIS using nsd (see sssshhhhaaaaddddoooowwww((((4444))))).
  53.  
  54. FFFFIIIILLLLEEEESSSS
  55.      _////_eeee_tttt_cccc_////_pppp_aaaa_ssss_ssss_wwww_dddd
  56.      _////_eeee_tttt_cccc_////_ssss_hhhh_aaaa_dddd_oooo_wwww
  57.      _////_eeee_tttt_cccc_////_oooo_pppp_aaaa_ssss_ssss_wwww_dddd
  58.      _////_eeee_tttt_cccc_////_oooo_ssss_hhhh_aaaa_dddd_oooo_wwww
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ppppwwwwccccoooonnnnvvvv((((1111MMMM))))                                                          ppppwwwwccccoooonnnnvvvv((((1111MMMM))))
  71.  
  72.  
  73.  
  74. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  75.      passwd(1).
  76.  
  77. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  78.      The _pppp_wwww_cccc_oooo_nnnn_vvvv command exits with one of the following values:
  79.  
  80.      0    Success.
  81.      1    Permission denied.
  82.      2    Invalid command syntax.
  83.      3    Unexpected failure.  Conversion not done.
  84.      4    Unexpected failure.  Password file(s) missing.
  85.      5    Password file(s) busy.  Try again later.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.